package cn.stylefeng.guns.modular.recy.service;
/*
 */

import com.baomidou.mybatisplus.extension.service.impl.*;
import cn.stylefeng.guns.modular.recy.mapper.*;
import cn.stylefeng.guns.modular.recy.entity.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.*;

import java.util.List;
import java.util.Map;

@Service
public class OrderFormService extends ServiceImpl<OrderFormMapper, OrderForm>
{
    //
    public List<OrderForm> orderFormStat(String area){
        return this.baseMapper.orderFormStat(area);
    }
    //区域分类今天统计
    public List<Map<String,Object>> areaOrderFormByType(String area){
        return this.baseMapper.areaOrderFormByType(area);
    }
    public Map<String,Object> todayUserRecy(String area){
        return this.baseMapper.todayUserRecy(area);
    }
    public List<Map<String,Object>> areaOrderFormByTypeMonth(String area){
        return this.baseMapper.areaOrderFormByTypeMonth(area);
    }
    public Map<String,Object> orderFormCount(String area){
        return this.baseMapper.orderFormCount(area);
    }

    public List<WechatUser> recyRankingsForToday(String area,Integer isClean,String orderType){
        return this.baseMapper.recyRankingsForToday(area,isClean,orderType);
    }

    public List<Map<String,Object>> areaOrderFormByMonth(@Param("area") String area){
        return this.baseMapper.areaOrderFormByMonth(area);
    }

    public List<OrderForm> recentRecyOrderFor2day(String area,Integer maxCount){
        return this.baseMapper.recentRecyOrderFor2day(area,maxCount);
    }

}
